#ifndef PAGEMAINTNETWORK_H
#define PAGEMAINTNETWORK_H

#include <QWidget>
#include "pagenetwork.h"

namespace Ui {
class PageMaintNetwork;
}

class PageMaintNetwork : public QWidget
{
    Q_OBJECT

public:
    explicit PageMaintNetwork(QWidget *parent = nullptr);
    ~PageMaintNetwork();
    void setDeviceComStatus(int type,int dev, int index, bool flt, bool master=0);
    void setTCDSVisible(int type,bool xVisible);
signals:
    void returnToMaintMenu();
private slots:
    void on_Btn_BlueAndRed_clicked();

    void on_Btn_Red_clicked();

    void on_Btn_Blue_clicked();

    void on_Btn_Return_clicked();

private:
    Ui::PageMaintNetwork *ui;
private:
    QList<PageNetwork*> network_stat_list_;
};

#endif // PAGEMAINTNETWORK_H
